import api from './api'
import request from '@/utils/request'
const qs = require('qs');//序列化

export function GetTwitterRecord(data){
  return request({
    url: api.GetTwitterRecord,
    method:'post',
    data
  })
}
export function TwitterFilterRecord(data){
  return request({
    url: api.TwitterFilterRecord,
    method:'post',
    data
  })
}
export function AttentionTwitterRecord(data){
  return request({
    url: api.AttentionTwitterRecord,
    method:'post',
    data
  })
}
export function CancelTwitterRecord(data){
  return request({
    url: api.CancelTwitterRecord,
    method:'post',
    data
  })
}
export function GetBasicInfoById(data){
  return request({
    url: api.GetBasicInfoById,
    method:'post',
    data:qs.stringify(data)
  })
}
export function QueryAccountLabel(data){
  return request({
    url: api.QueryAccountLabel,
    method:'post',
    data
  })
}
export function QueryChangeInfo(data){
  return request({
    url: api.QueryChangeInfo,
    method:'post',
    data
  })
}
export function TwitterList(data){
  return request({
    url: api.TwitterList,
    method:'post',
    data
  })
}

export function QueryTwitterRelatedAccount(data){
  return request({
    url: api.QueryTwitterRelatedAccount,
    method:'post',
    data
  })
}
export function TwitterAddRelation(data){
  return request({
    url: api.TwitterAddRelation,
    method:'post',
    data
  })
}
export function UpdateProperty(data){
  return request({
    url: api.UpdateProperty,
    method:'post',
    data
  })
}
export function SynopsisDetails(data){
  return request({
    url: api.SynopsisDetails,
    method:'post',
    data
  })
}
export function GetPersonRecord(data){
  return request({
    url: api.GetPersonRecord,
    method:'post',
    data
  })
}

export function VerifyRelation(data){
  return request({
    url: api.VerifyRelation,
    method:'post',
    data
  })
}
export function TweetAnalysis(data){
  return request({
    url: api.TweetAnalysis,
    method:'post',
    data
  })
}
export function Tweetinfluence(data){
  return request({
    url: api.Tweetinfluence,
    method:'post',
    data
  })
}
export function TwitterGetInfluence(data){
  return request({
    url: api.TwitterGetInfluence,
    method:'post',
    data
  })
}
export function TwitterGetBeImpacted(data){
  return request({
    url: api.TwitterGetBeImpacted,
    method:'post',
    data
  })
}
export function QueryBeImpactedPropertyAnalysis(data){
  return request({
    url: api.QueryBeImpactedPropertyAnalysis,
    method:'post',
    data
  })
}
export function TwitterQueryPropertyAnalysis(data){
  return request({
    url: api.TwitterQueryPropertyAnalysis,
    method:'post',
    data
  })
}
export function PersonOrgUpdate(data){
  return request({
    url: api.PersonOrgUpdate,
    method:'post',
    data
  })
}
export function GetInfluenceNumber(data){
  return request({
    url: api.GetInfluenceNumber,
    method:'post',
    data
  })
}
export function DeleteTwitterRelation(data){
  return request({
    url: api.DeleteTwitterRelation,
    method:'post',
    data
  })
}
export function TwitterAccountUpdate(data){
  return request({
    url: api.TwitterAccountUpdate,
    method:'post',
    data
  })
}
export function QueryEntityUpdateProgressRate(data){
  return request({
    url: api.QueryEntityUpdateProgressRate,
    method:'post',
    data
  })
}
